package za.ac.wits.elen4010.capturetheflag;

import za.ac.wits.elen4010.capturetheflag.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class AndroidForgot extends Activity 
{
	 public void onCreate(Bundle savedInstanceState) 
	    {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.forgot);
	       	        
	        Button sb = (Button) findViewById(R.id.submitButton);
	        sb.setOnClickListener(new View.OnClickListener() {
	            public void onClick(View v) {
	                Intent intent = new Intent();
	                setResult(RESULT_OK, intent);
	                finish();
	            }

	        });
	    }
}